package com.example.goodpet.db.entity;

import androidx.room.Entity;

import org.jetbrains.annotations.NotNull;

@Entity(tableName = "tiezi_history", primaryKeys = {"userId","tieziId"})
public class TieziHistory {
    @NotNull
    private long userId;
    @NotNull
    private long tieziId;
    private String postdate;

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public long getTieziId() {
        return tieziId;
    }

    public void setTieziId(long tieziId) {
        this.tieziId = tieziId;
    }

    public String getPostdate() {
        return postdate;
    }

    public void setPostdate(String postdate) {
        this.postdate = postdate;
    }
}
